<template>
<div class="about">
  <button ref="btn" @click="handleClick">test</button>
</div>
</template>

<script lang="ts">
import {ref} from 'vue'
export default {
  
  setup() {
    const btn = ref(null)

    const handleClick = () => {
      console.log(btn.value)
    }
    
    return {
      btn,
      handleClick
    }
    
  }
}
</script>
